100
|
How can I remove a bookmark
with AxEdit1 do
begin
set_Bookmark(2,True);
set_Bookmark(2,False);
BookmarkWidth := 16;
end
|
99
|
How can I remove all bookmarks
with AxEdit1 do
begin
set_Bookmark(2,True);
set_Bookmark(4,True);
BookmarkWidth := 16;
ClearBookmarks();
end
|
98
|
How can I add a bookmark

with AxEdit1 do
begin
set_Bookmark(2,True);
set_Bookmark(4,True);
BookmarkWidth := 16;
end
|
97
|
How can I change the format to display the numbers

with AxEdit1 do
begin
FormatNumbers := '<b><fgcolor=FF0000> </fgcolor></b>';
InsertText('Just numbers: 12 22\r\n',TObject(1));
end
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret

with AxEdit1 do
begin
BackColorCaretLine := Color.FromArgb(255,0,0);
end
|
95
|
Can I display the lines using an alternate color

with AxEdit1 do
begin
BackColorAlternate := Color.FromArgb(255,0,0);
end
|
94
|
How can I disable or enable displaying the Replace dialog
with AxEdit1 do
begin
AllowReplace := False;
end
|
93
|
Does your control support incrementasl search

with AxEdit1 do
begin
AllowIncrementalSearch := True;
end
|
92
|
How can I programmatically find or search for a word only
with AxEdit1 do
begin
HideSelection := False;
Find('IDD_DIALOG_INSTALL',EXEDITLib.FindOptionEnum.exMatchWholeWordOnly);
end
|
91
|
How can I programmatically find or search for a string

with AxEdit1 do
begin
HideSelection := False;
Find('public',EXEDITLib.FindOptionEnum.exSearchDown);
end
|
90
|
How can I disable or enabled the Find dialog
with AxEdit1 do
begin
AllowFind := False;
end
|
89
|
How can I enable my button as the control can perform an REDO operation

with AxEdit1 do
begin
var_CanRedo := CanRedo;
end
|
88
|
How can I enable my button as the control can perform an UNDO operation
with AxEdit1 do
begin
var_CanUndo := CanUndo;
end
|
87
|
How can I disable or enable the undo-redo feature

with AxEdit1 do
begin
AllowUndoRedo := False;
end
|
86
|
How can I change the color for the border where the line numbers are displayed

with AxEdit1 do
begin
LineNumberForeColor := Color.FromArgb(255,0,0);
LineNumberBackColor := Color.FromArgb(0,0,255);
LineNumberWidth := 32;
end
|
85
|
How can I change the color of the bookmark border

with AxEdit1 do
begin
BookMarkBackColor := Color.FromArgb(255,0,0);
BookMarkBackColor2 := Color.FromArgb(255,0,0);
BookmarkWidth := 16;
end
|
84
|
How can I refresh the control

with AxEdit1 do
begin
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
83
|
How can I change the size of the tabs characters

with AxEdit1 do
begin
TabLength := 8;
end
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
with AxEdit1 do
begin
OpenBrackets := '<';
CloseBrackets := '>';
end
|
81
|
How can I hide the selection
with AxEdit1 do
begin
DisplaySelection := False;
end
|
80
|
How can I display both scroll bars

with AxEdit1 do
begin
ScrollBars := EXEDITLib.ScrollBarsEnum.exBoth;
end
|
79
|
How can I display only the vertical scroll bar

with AxEdit1 do
begin
ScrollBars := EXEDITLib.ScrollBarsEnum.exVertical;
end
|
78
|
How can I display only the horizontal scroll bar

with AxEdit1 do
begin
ScrollBars := EXEDITLib.ScrollBarsEnum.exHorizontal;
end
|
77
|
How can I hide the control's scroll bars

with AxEdit1 do
begin
ScrollBars := EXEDITLib.ScrollBarsEnum.exNoScroll;
end
|
76
|
How can I insert at specified position a new line

with AxEdit1 do
begin
InsertText('newline\r\n',TObject(2));
set_BackColorLine(2,$ff);
end
|
75
|
How can I remove or delete all lines
with AxEdit1 do
begin
Text := '';
end
|
74
|
How can I remove or delete a line

with AxEdit1 do
begin
DeleteLine(1);
end
|
73
|
How do I change the character where the caret or the cursor is displayed
with AxEdit1 do
begin
CaretPos := 10;
end
|
72
|
How do I change the line where the caret or the cursor is displayed
with AxEdit1 do
begin
CaretLine := 10;
end
|
71
|
How do I replace a line

with AxEdit1 do
begin
set_TextLine(1,'new line');
end
|
70
|
How do I get a line
with AxEdit1 do
begin
set_TextLine(1,'new line');
end
|
69
|
How do I get the number of lines in the control
with AxEdit1 do
begin
var_Count := Count;
end
|
68
|
How do I get the point where the selection starts

with AxEdit1 do
begin
SelStart := 4;
SelLength := 10;
HideSelection := False;
end
|
67
|
How do I get the number of selected characters

with AxEdit1 do
begin
SelLength := 10;
HideSelection := False;
end
|
66
|
How can I get the selected text
with AxEdit1 do
begin
SelLength := 10;
var_SelText := SelText;
end
|
65
|
How can I replace the selected text

with AxEdit1 do
begin
SelLength := 10;
SelText := '-new selection-';
end
|
64
|
How can I avoid changing the colors for keywords or expressions

with AxEdit1 do
begin
ApplyColors := False;
AddKeyword('<fgcolor=FF0000><b>class</b></fgcolor>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
63
|
How can I display HTML text

with AxEdit1 do
begin
EditType := EXEDITLib.EditTypeEnum.exHTML;
Text := '<b>just a HTML text</b>\r\nnew <s>line</s>';
end
|
62
|
How can I use it a a simple edit control, without highlighting

with AxEdit1 do
begin
EditType := EXEDITLib.EditTypeEnum.exStandard;
end
|
57
|
How can I display only a single line
with AxEdit1 do
begin
MultiLine := False;
end
|
56
|
How can I disable displaying multiple lines
with AxEdit1 do
begin
MultiLine := False;
end
|
55
|
How can change the color for selected text

with AxEdit1 do
begin
HideSelection := False;
SelLength := 10;
SelBackColor := Color.FromArgb(255,0,0);
end
|
54
|
How can change the color for selected text

with AxEdit1 do
begin
HideSelection := False;
SelLength := 10;
SelForeColor := Color.FromArgb(255,0,0);
end
|
53
|
How can I disable displaying the control's context menu
with AxEdit1 do
begin
AllowContextMenu := False;
end
|
52
|
Is there any option to hide the caret or the cursor
with AxEdit1 do
begin
ShowCaret := False;
end
|
51
|
How can still display the selected text when the control loses the focus

with AxEdit1 do
begin
HideSelection := False;
SelLength := 10;
end
|
50
|
How can I disable adding new TAB characters when the user enters a new line
with AxEdit1 do
begin
AutoIndent := False;
end
|
49
|
How can I disable using the Tab key
with AxEdit1 do
begin
UseTabKey := False;
end
|
48
|
How can I hide the number of each line
with AxEdit1 do
begin
LineNumberWidth := 0;
end
|
47
|
How can I display or show the number of each line

with AxEdit1 do
begin
LineNumberWidth := 32;
end
|
46
|
How can I clear the text
with AxEdit1 do
begin
Text := '';
end
|
45
|
How can I specify the text being displayed in the control

with AxEdit1 do
begin
Text := 'new line\r\nnew line';
end
|
44
|
How can I hide the bookmark border
with AxEdit1 do
begin
BookmarkWidth := 0;
end
|
43
|
How can I show the bookmark border

with AxEdit1 do
begin
BookmarkWidth := 16;
end
|
42
|
How do I lock the control

with AxEdit1 do
begin
Locked := True;
end
|
41
|
How do I disable or enable the control
with AxEdit1 do
begin
Enabled := False;
end
|
40
|
How can I change the visual appearance of the splitter

with AxEdit1 do
begin
AllowSplitter := EXEDITLib.SplitterEnum.exBothSplitter;
SplitPaneWidth := 128;
SplitPaneHeight := 128;
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exHSplitterApp,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exVSplitterApp,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exISplitterApp,$2000000);
end
|
39
|
How can I change the visual appearance of the vertical splitter

with AxEdit1 do
begin
AllowSplitter := EXEDITLib.SplitterEnum.exBothSplitter;
SplitPaneWidth := 128;
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exHSplitterApp,$1000000);
end
|
38
|
How can I change the visual appearance of the horizontal splitter

with AxEdit1 do
begin
AllowSplitter := EXEDITLib.SplitterEnum.exBothSplitter;
SplitPaneHeight := 128;
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exVSplitterApp,$1000000);
end
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

with AxEdit1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumb,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbP,$2000000);
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbH,$3000000);
set_Background(EXEDITLib.BackgroundPartEnum.exVSThumb,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exVSThumbP,$2000000);
set_Background(EXEDITLib.BackgroundPartEnum.exVSThumbH,$3000000);
end
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

with AxEdit1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumb,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbP,$2000000);
set_Background(EXEDITLib.BackgroundPartEnum.exHSThumbH,$3000000);
set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,96);
end
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

with AxEdit1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exSBtn,$1000000);
set_Background(EXEDITLib.BackgroundPartEnum.exSBtnP,$2000000);
set_Background(EXEDITLib.BackgroundPartEnum.exSBtnH,$3000000);
set_Background(EXEDITLib.BackgroundPartEnum.exHSBack,$f0f0f0);
set_Background(EXEDITLib.BackgroundPartEnum.exVSBack,$f0f0f0);
set_Background(EXEDITLib.BackgroundPartEnum.exSizeGrip,$f0f0f0);
end
|
34
|
Can I change the forecolor for the tooltip

with AxEdit1 do
begin
ToolTipDelay := 1;
ToolTipWidth := 364;
set_Background(EXEDITLib.BackgroundPartEnum.exToolTipForeColor,$ff);
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
33
|
Can I change the background color for the tooltip

with AxEdit1 do
begin
ToolTipDelay := 1;
ToolTipWidth := 364;
set_Background(EXEDITLib.BackgroundPartEnum.exToolTipBackColor,$ff);
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
32
|
Can I change the default border of the tooltip, using your EBN files

with AxEdit1 do
begin
ToolTipDelay := 1;
ToolTipWidth := 364;
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
set_Background(EXEDITLib.BackgroundPartEnum.exToolTipAppearance,$1000000);
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
31
|
How do I call your x-script language

with AxEdit1 do
begin
ExecuteTemplate('BackColor = RGB(255,0,0)');
end
|
30
|
How do I call your x-script language

with AxEdit1 do
begin
Template := 'BackColor = RGB(255,0,0)';
end
|
29
|
Can I change the font for the tooltip

with AxEdit1 do
begin
ToolTipDelay := 1;
with ToolTipFont do
begin
Name := 'Tahoma';
Size := 14;
end;
ToolTipWidth := 364;
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger

with AxEdit1 do
begin
ToolTipWidth := 328;
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
27
|
How do I let the tooltip being displayed longer

with AxEdit1 do
begin
ToolTipPopDelay := 10000;
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
26
|
How do I disable showing the tooltip for all control
with AxEdit1 do
begin
ToolTipDelay := 0;
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
25
|
How do I show the tooltip quicker

with AxEdit1 do
begin
ToolTipDelay := 1;
AddKeyword('<b>class</b>','this is a bit of text that''s shown when the cursor hovers the <b>class</b> keyword.','exontrol.edit',Nil);
Refresh();
end
|
24
|
Can I change the order of the buttons in the scroll bar

with AxEdit1 do
begin
set_ScrollOrderParts(EXEDITLib.ScrollBarEnum.exHScroll,'t,l,r');
set_ScrollOrderParts(EXEDITLib.ScrollBarEnum.exVScroll,'t,l,r');
end
|
23
|
The thumb size seems to be very small. Can I make it bigger

with AxEdit1 do
begin
set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,164);
end
|
22
|
How do I enlarge or change the size of the control's scrollbars

with AxEdit1 do
begin
ScrollHeight := 18;
ScrollWidth := 18;
ScrollButtonWidth := 18;
ScrollButtonHeight := 18;
end
|
21
|
How can I display my text on the scroll bar, using a different font

with AxEdit1 do
begin
set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,'This is just a text');
get_ScrollFont(EXEDITLib.ScrollBarEnum.exHScroll).Size := 12;
set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,128);
ScrollHeight := 24;
set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,'This is <s><font Tahoma;12> just </font></s> text');
ScrollHeight := 20;
end
|
20
|
How can I display my text on the scroll bar

with AxEdit1 do
begin
set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exThumbPart,'this is just a text');
set_ScrollThumbSize(EXEDITLib.ScrollBarEnum.exHScroll,96);
end
|
19
|
How do I assign a tooltip to a scrollbar

with AxEdit1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
set_ScrollToolTip(EXEDITLib.ScrollBarEnum.exHScroll,'This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar');
end
|
18
|
How do I assign an icon to the button in the scrollbar

with AxEdit1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,True);
set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,'<img>1</img>');
ScrollHeight := 18;
ScrollButtonWidth := 18;
end
|
17
|
I need to add a button in the scroll bar. Is this possible

with AxEdit1 do
begin
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,True);
set_ScrollPartCaption(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,'1');
end
|
16
|
Can I display an additional buttons in the scroll bar

with AxEdit1 do
begin
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB1Part,True);
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exLeftB2Part,True);
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exRightB6Part,True);
set_ScrollPartVisible(EXEDITLib.ScrollBarEnum.exHScroll,EXEDITLib.ScrollPartEnum.exRightB5Part,True);
end
|
15
|
How do I change the control's foreground color

with AxEdit1 do
begin
ForeColor := Color.FromArgb(255,0,0);
end
|
14
|
How do I change the control's background color

with AxEdit1 do
begin
BackColor := Color.FromArgb(200,200,200);
end
|
13
|
How can I change the control's font

with AxEdit1 do
begin
Font.Name := 'Verdana';
end
|
12
|
How do I put a picture on the center of the control

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exMiddleCenter;
end
|
11
|
How do I resize/stretch a picture on the control's background

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exStretch;
end
|
10
|
How do I put a picture on the control's center right bottom side

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exLowerRight;
end
|
9
|
How do I put a picture on the control's center left bottom side

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exLowerLeft;
end
|
8
|
How do I put a picture on the control's center top side

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exUpperCenter;
end
|
7
|
How do I put a picture on the control's right top corner

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exUpperRight;
end
|
6
|
How do I put a picture on the control's left top corner

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
PictureDisplay := EXEDITLib.PictureDisplayEnum.exUpperLeft;
end
|
5
|
How do I put a picture on the control's background

with AxEdit1 do
begin
(GetOcx() as EXEDITLib.Edit).Picture := AxEdit1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
end
|
4
|
How do I change the control's border, using your EBN files

with AxEdit1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
Appearance := EXEDITLib.AppearanceEnum($1000000);
end
|
3
|
How do I remove the control's border

with AxEdit1 do
begin
Appearance := EXEDITLib.AppearanceEnum.exNone;
end
|
2
|
How can I add a line

with AxEdit1 do
begin
InsertText(' - insert the line as the last - \r\n',Nil);
end
|
1
|
How can I insert a line

with AxEdit1 do
begin
InsertText(' - insert the line as the first - \r\n',TObject(1));
end
|